package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 健康状态
 * </p>
 *
 * @author 作者
 * @since 2023-04-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("s_health")
public class Health {

	/**
	 * id
	 */
	@TableId(value = "health_id", type = IdType.AUTO)
	private Integer healthId;

	/**
	 * 体温
	 */
	@TableField("temper")
	private Float temper;

	/**
	 * 头痛
	 */
	@TableField("headache")
	private Boolean headache;

	/**
	 * 发烧
	 */
	@TableField("fever")
	private Boolean fever;

	/**
	 * 信息创建时间
	 */
	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	/**
	 * 管理端id(管理表的外键)
	 */
	@TableField("staff_id")
	private Integer staffId;

	/**
	 * 不适详情
	 */
	@TableField("remark")
	private String remark;


}
